getDatabaseObject

fun getDatabaseObject(username: String? = null, password: String? = null, dbName: String? = null): Database

Gets a database object for connecting to the PostgreSQL database.

Return

a database object for connecting to the PostgreSQL database

Parameters

username

the username for the database

password

the password for the database

dbName

the name of the database